package cn.stylefeng.guns.modular.ctm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@Data
@TableName("rc_train_information")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "培训信息")
public class Train extends ResumeInformationId {
    private static final long serialVersionUID = 1L;

    /**
     * 机构名称
     */
    @NotBlank(message = "机构名称不能为空")
    private String organizationName;
    /**
     * 课程名称
     */
    @NotBlank(message = "课程名称不能为空")
    private String courseTitle;
    /**
     * 简介
     */
    @NotBlank(message = "简介不能为空")
    private String intro;
    /**
     * 培训情况
     */
    @NotBlank(message = "培训情况不能为空")
    private String trainStatus;
    /**
     * 培训开始时间
     */
    @NotBlank(message = "培训开始时间不能为空")
    private String trainingStartTime;
    /**
     * 培训结束时间
     */
    @NotBlank(message = "培训结束时间不能为空")
    private String trainingEndTime;
}
